﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreRay
{
    public class Statistics
    {
        public Statistics()
        {
            this.Items = new Dictionary<string, List<StatisticsItem>>();
        }

        public Dictionary<string, List<StatisticsItem>> Items
        {
            get;
            private set;
        }

        public void AddStatisticsItem(string category, StatisticsItem item)
        {
            if (this.Items.ContainsKey(category) == false)
            {
                this.Items[category] = new List<StatisticsItem>();
            }

            this.Items[category].Add(item);
        }
    }
}
